package com.suredy.flow.model;

import java.util.HashMap;
import java.util.Map;

import com.suredy.core.mvc.model.Tree;

@SuppressWarnings("serial")
public class SenderUnit extends Tree {

	private String nodeType;
	private String id;
	
	Map<String,String> data = new HashMap<String,String>(){{put("nodeType","unit");}};
	
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		data.put("id", id);
		this.id = id;
	}


	public String getNodeType() {
		return nodeType;
	}

	
	public void setNodeType(String nodeType) {
		data.put("nodeType", nodeType);
		this.nodeType = nodeType;
	}

	
	public Map<String, String> getData() {
		return data;
	}

	
	public void setData(Map<String, String> data) {
		this.data = data;
	}
	
}
